﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace YahooFinance
{
    /// <summary>
    /// An object that represents a piece of news
    /// </summary>
    public class NewsItem
    {
        /// <summary>
        /// The headline that will be displayed
        /// </summary>
        public string DisplayHeadline { get; set; }
        /// <summary>
        /// The original headline
        /// </summary>
        public string Headline { get; set; }
        /// <summary>
        /// The url link to the original news article
        /// </summary>
        public string Url { get; set; }
        /// <summary>
        /// The date for the article
        /// </summary>
        public DateTimeOffset Date { get; set; }
    }
}
